<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class CustomerNote extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
	protected $table = 'customer_notes';

    /**
     * The attributes that aren't mass assignable.
     *
     * @var array
     */
	protected $guarded  = [];

    public function user()
    {
        return $this->belongsTo('App\Models\User', 'user_id');
    }

    public function customer()
    {
        return $this->belongsTo('App\Models\Customer', 'cid');
    }
}
